package cn.edu.scau.cmi.wangmaoren.comprehension.domain;

public class Student implements java.io.Serializable
{
	private Long id;
	private String name;
	private Teacher teacher;

	public Student()
	{
	}

	public Student(Long id)
	{
		this.id = id;
	}

	public Student(Long id, String name)
	{
		this.id = id;
		this.name = name;
	}

	public Student(Long id, String name, Teacher teacher)
	{
		this.id = id;
		this.name = name;
		this.teacher = teacher;
	}

	public Long getId()
	{
		return this.id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}
}
